<?php
namespace app\common\model;

use think\Model;

class  Ip extends Model
{

    public function iPinfo()
    {
        return $this->hasOne('ip-city', 'geoname_id', 'geoname_id');
    }
    
 
}